package lab02.text04.text05;

/**
 * Created by leovo on 2017/10/14.
 */
public class Cube {
    //构造函数
    Cube() {}

//属性：长、宽、高
    double length;
    double width;
    double height;

//体积、初始化
    //体积
    double volume() {
        return (length * width * height);
    }
    //初始化
float initialisation(){
        length=1;
        width=2;
        height=3;
        return 0;
}
}



